layui.use('layer', function(){

});   
function set(){
  var layer = layui.layer;
  parent.layer.open({
  type: 2, 
  title: '添加车辆',
  area: ['60%', '60%'],
  content: ['set.html'],
  shade: 0.3,
  closeBtn:1 
   //这里content是一个URL，如果你不想让iframe出现滚动条，你还可以content: ['http://sentsin.com', 'no']
   
  }); 
  
}       
function detail(){
  var layer = layui.layer;
  parent.layer.open({
  type: 2, 
  title: '添加车辆',
  area: ['80%', '80%'],
  content: ['detail.html'],
  shade: 0.3,
  closeBtn:1
   //这里content是一个URL，如果你不想让iframe出现滚动条，你还可以content: ['http://sentsin.com', 'no']
   
}); 


}       
